Rehabilitation protocol through a digital platform